<footer class="main-footer">
    <div class="container">
        <div class="row">
            <div class="col-sm-4">
                <div class="widget">
                    <h4 class="title">最新文章</h4>

                    <div class="content recent-post">
                        <?php for ($i = 0; $i < $word_list['data_num']; ++$i): ?>
                            <div class="recent-single-post">
                                <a href="<?=constant("APP")?>/Word/word_list/<?= $word_list['data'][$i]["Id"] ?>"
                                   class="post-title"><?= $word_list['data'][$i]["title"] ?></a>
                                <div class='text-success'><?= $word_list['data'][$i]["datetime"] ?></div>
                            </div>
                        <?php endfor; ?>
                    </div>
                </div>
            </div>

            <div class="col-sm-4">
                <div class="widget">
                    <h4 class="title">标签云</h4>

                    <div class="content tag-cloud">
                        <?php foreach ($label_list as $list): ?>
                            <a href="<?=constant("APP")?>/Label/label_for_word_list/<?= $list['label_id'] ?>"><?= $list['label_name'] ?></a>
                        <?php endforeach ?>
                    </div>
                </div>
            </div>

            <div class="col-sm-4">
                <div class="widget">
                    <h4 class="title">合作伙伴</h4>

                    <div class="content tag-cloud friend-links">
                        <?php foreach ($friend_list as $list): ?>
                            <a href="<?= $list['friend_href'] ?>"
                               title="<?= $list['friend_name'] ?>"
                               target="_blank"><?= $list['friend_name'] ?></a>

                        <?php endforeach; ?>
                    </div>
                    </div>
                </div>
            </div>
        </div>
    <div class="text-center">
        <a href="<?=constant("APP")?>/Root/login" class="btn btn-info">
            Go->后台
        </a>
    </div>
</footer>

<div class="copyright">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <span>Copyright © <a
                        href="<?=constant("APP")?>">范范博客</a></span> |
                <span><a href="http://www.miibeian.gov.cn/" target="_blank">暂无</a></span> |
                <span>暂无</span>
            </div>
        </div>
    </div>
</div>
</body>
</html>